<!doctype html> 
<html> 
<head> 
    <meta charset="utf-8"> 
    <title></title> 
</head>
<body>

<script type="text/javascript">
	onload = function(){
		/*
		l.style.width = '200px';
		l.style.height = '200px';
		l.style.background = 'black';
		*/
        alert(l);
		l.style.cssText = 'width:200px;height:200px;background:black;';

	}

</script>
<div id='l' name='hanqiliang'>
	<div id='s' name='hanqiliang'></div>
</div>
</body>
</html>